package com.xxx.blog.service;

import com.xxx.blog.po.Comment;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CommentService {
    List<Comment> listCommentByBlogId(Long blogId);

    Page<Comment> adminListComment(Pageable pageable);

    Comment saveComment(Comment comment);

    void deleteById(Long id);
}
